package com.oceanread.cn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oceanread.cn.entity.Projections;

import java.util.List;

public interface IProjectionsService extends IService<Projections> {
    List<Projections> getall();
    Integer getnum();
    List<Projections> findall(int page,int size);
    List<Projections> query(int page, int size, String key, String value);

    int insert(String PrjID, String prjName,String ShortName, String Date,
               String Lon,String Lat,String Type,String CameraHight,String NumPipeline,
               String LengthPipeline,String DepthPipeline,String NumDrillhole,
               String NumProfile,String UndertakingUnit
               );
    Integer getnumquery(String key, String value);

    Integer update(Projections projections);
    Integer delete(int id);
}
